package cn.ronghuanet.base.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageList<T> {
    //封装分页后的结果
    //1.总条数
    private Integer total=0;
    //2.当前页的数据
    private List<T> data= new ArrayList<T>();
}
